package mfkvit;

public class HtmlFilter {
    public static String getFilter(String code) {
        code = code.replaceAll("\\&", "&amp;");
        code = code.replaceAll("\\\"", "&quot;");
        code = code.replaceAll("\\<", "&lt;");
        code = code.replaceAll("\\>", "&gt;");
        return code;
    }
}
